package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城商家店铺banner
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_main_banner")
public class StoreMainBanner extends BaseRestModel {

    private static final long serialVersionUID = 1L;
    /**
     * 商城店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 首页图片路径
     */
    @TableField("img_path")
    private String imgPath;
    /**
     * 跳转类型
     */
    @TableField("skip_type")
    private Integer skipType;
    /**
     * 跳转位置或url
     */
    @TableField("skip_location")
    private String skipLocation;
    /**
     * 商城商家首页模块id
     */
    @TableField("shop_home_module_id")
    private Integer shopHomeModuleId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
